#include "stm32l4xx_hal.h"

uint8_t AD9434_Init(void);
uint8_t AD9434_WriteReg(uint8_t addr,uint8_t data,uint8_t device);
uint8_t AD9434_ReadReg(uint8_t addr,uint8_t device);
uint8_t AD9434_Update(uint8_t device);
uint8_t AD9434_Offset(uint8_t value,uint8_t device);
uint8_t AD9434_CML_Switch(uint8_t value,uint8_t device);//0:off,1:on
uint8_t AD9434_DataForm(uint8_t value,uint8_t device);//0:offset binary,1:two's complement,2:graycode
uint8_t AD9434_ClockPolarity(uint8_t value,uint8_t device);//0:normal,1:inverted
uint8_t AD9434_Delay(uint8_t value,uint8_t device);
uint8_t AD9434_Coupling(uint8_t value,uint8_t device);//0:AC,1:DC
